import config from '../config/index'

var storage = sessionStorage

var setlocastorage = {
    set(obj) {
        storage.setItem(config.LOCAL_BASE, obj)
    },
    remove() {
        storage.removeItem(config.LOCAL_BASE)
    },
    get() {
        return storage.getItem(config.LOCAL_BASE)
    }
}
export default setlocastorage